package cn.tedu.cn.tedu;

import com.sun.xml.internal.ws.api.model.wsdl.WSDLOutput;
import org.w3c.dom.ls.LSOutput;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Scanner;

public class Test_04 {
    public static void main(String[] args) throws Exception{
         String birthday=new Scanner(System.in).nextLine();
        SimpleDateFormat C=new SimpleDateFormat("pattern");
         Date birth = C.parse(birthday);
         long start =birth.getTime();
         long now = System.currentTimeMillis();
        System.out.println((now-start)/1000/60/60/24);

    }
}
